import moment from "moment";

export const dateFormate = (value, formatString) => {
  formatString = formatString || "YYYY-MM-DD HH:mm:ss";
  return moment(value).format(formatString);
};
